package com.example.easyscript.enums;

public enum TaskStatusEnum  {
    //正常状态

    //当前任务的状态未确定
    MISS_STATES(1,"任务目前状态未确定"),
    NORMAL_STATES(2,"正常状态"),
    TERMINAL(3,"操作集已全部完成"),
    ;

    private final int code ;
    private final String type ;


    TaskStatusEnum(int code,String type){
        this.code = code ;
        this.type = type ;
    }

    public boolean isStatus(int status){
        return this.code == status;
    }

}
